<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Pastel - Pedido</title>
    </h:head>
    <h:body>
        <h:form>
            <div><h2>Pastel - Pedido</h2></div>
            <div><h:graphicImage url="/Imagem/pastel.jpg" height="200" width="200"/></div>
            <div>
                Cliente: <h:inputText value="#{bean.cliente}"/>
            </div>
            <div>
                Tipo: <h:selectOneRadio value="#{bean.escolha}">
                            <f:selectItems value="#{bean.radio}"/>
                      </h:selectOneRadio>
            </div>
            <div>
                Voce conheceu o pastel por:
                <h:selectManyCheckbox value="#{bean.escolha1}">
                  <f:selectItems value="#{bean.check}"/>
                </h:selectManyCheckbox>
           </div>
            <div>Sabor:</div>
            <div>
                <h:selectOneListbox value="#{bean.escolha2}">
                   <f:selectItems value="#{bean.list}"/>
                </h:selectOneListbox>
            </div>
            <div><h:commandButton value="OK" action="pedido.xhtml"/><h:commandButton value="Limpar"/></div>
        </h:form>
    </h:body>
</html>

